package com.yuanfud.entity.user;

import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;

public class User {
    @ApiModelProperty(value="编号")
    private int id;
    @ApiModelProperty(value="昵称")
    private String UserName;
    @ApiModelProperty(value="性别")
    private int Sex;
    @ApiModelProperty(value="电话")
    private String Tel;
    @ApiModelProperty(value="手机")
    private String Phone;
    @ApiModelProperty(value="登录账号")
    private String LoginID;
    @ApiModelProperty(value="密码")
    private String Pwd;
    @ApiModelProperty(value="真实姓名")
    private String RealUserName;
    @ApiModelProperty(value="邮箱")
    private String Email;
    @ApiModelProperty(value="地址")
    private String Address;
    @ApiModelProperty(value="角色类型")
    private int RoleTypeId;
    @ApiModelProperty(value="录入日期")
    private Date InputDate;
    @ApiModelProperty(value="录入人")
    private int InputUserId;

    public int getSex() {
        return Sex;
    }

    public void setSex(int sex) {
        Sex = sex;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @ApiModelProperty(value="状态",required = true)
    private int status;

    public String getPhone() {
        return Phone;
    }

    public void setPhone(String phone) {
        Phone = phone;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }



    public String getTel() {
        return Tel;
    }

    public void setTel(String tel) {
        Tel = tel;
    }

    public String getLoginID() {
        return LoginID;
    }

    public void setLoginID(String loginID) {
        LoginID = loginID;
    }

    public String getPwd() {
        return Pwd;
    }

    public void setPwd(String pwd) {
        Pwd = pwd;
    }

    public String getRealUserName() {
        return RealUserName;
    }

    public void setRealUserName(String realUserName) {
        RealUserName = realUserName;
    }

    public String getEmail() {
        return Email;
    }

    public void setEmail(String email) {
        Email = email;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }

    public int getRoleTypeId() {
        return RoleTypeId;
    }

    public void setRoleTypeId(int roleTypeId) {
        RoleTypeId = roleTypeId;
    }

    public Date getInputDate() {
        return InputDate;
    }

    public void setInputDate(Date inputDate) {
        InputDate = inputDate;
    }

    public int getInputUserId() {
        return InputUserId;
    }

    public void setInputUserId(int inputUserId) {
        InputUserId = inputUserId;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", UserName='" + UserName + '\'' +
                ", Sex=" + Sex +
                ", Tel='" + Tel + '\'' +
                ", Phone='" + Phone + '\'' +
                ", LoginID='" + LoginID + '\'' +
                ", Pwd='" + Pwd + '\'' +
                ", RealUserName='" + RealUserName + '\'' +
                ", Email='" + Email + '\'' +
                ", Address='" + Address + '\'' +
                ", RoleTypeId=" + RoleTypeId +
                ", InputDate=" + InputDate +
                ", InputUserId=" + InputUserId +
                ", status=" + status +
                '}';
    }
}
